package ycyc.Games.gomoku.core;

import java.awt.Image;
import java.util.ArrayList;
import java.util.List;

import ycyc.Games.gomoku.model.Point;

public abstract class AbsChessBoard implements IChessboard {
	protected int MARGIN = 30;// 边距
	protected int GRID_SPAN = 35;// 网格间距
	protected int ROWS = 15;// 棋盘行数
	protected int COLS = 15;// 棋盘列数
	protected boolean isBlack = true;// 默认开始是黑棋先
	protected boolean gameOver = false;// 游戏是否结束
	protected List<Point> readylist = new ArrayList<Point>();// 已经被下过的棋子
	protected Image img;
	protected Image shadows;
	public int getMARGIN() {
		return MARGIN;
	}
	public void setMARGIN(int mARGIN) {
		MARGIN = mARGIN;
	}
	public int getGRID_SPAN() {
		return GRID_SPAN;
	}
	public void setGRID_SPAN(int gRID_SPAN) {
		GRID_SPAN = gRID_SPAN;
	}
	public int getROWS() {
		return ROWS;
	}
	public void setROWS(int rOWS) {
		ROWS = rOWS;
	}
	public int getCOLS() {
		return COLS;
	}
	public void setCOLS(int cOLS) {
		COLS = cOLS;
	}
	public boolean isBlack() {
		return isBlack;
	}
	public void setBlack(boolean isBlack) {
		this.isBlack = isBlack;
	}
	public boolean isGameOver() {
		return gameOver;
	}
	public void setGameOver(boolean gameOver) {
		this.gameOver = gameOver;
	}
	public List<Point> getReadylist() {
		return readylist;
	}
	public void setReadylist(List<Point> readylist) {
		this.readylist = readylist;
	}
	public Image getImg() {
		return img;
	}
	public void setImg(Image img) {
		this.img = img;
	}
	public Image getShadows() {
		return shadows;
	}
	public void setShadows(Image shadows) {
		this.shadows = shadows;
	}

	
}
